package com.ledong.se.timer;

import java.util.Date;
import java.util.Timer;

public class Test {

    public void execute() {
        Timer timer = new Timer();
        TestTimer myTT = new TestTimer();
        Date date = new Date();
        long timestamp = 5000;
        timer.schedule(myTT, date, timestamp);
    }

    public static void main(String[] args) {
        Test t = new Test();
        t.execute();
    }
}
